[doc] Fix the documentation of GtkIconEntry
authorChristian Dywan <christian@lanedo.com>
Tue, 8 Dec 2009 04:45:50 +0000 (05:45 +0100)
committerJavier Jardón <jjardon@gnome.org>
Tue, 8 Dec 2009 04:45:50 +0000 (05:45 +0100)
Cast to (GFunc) in example code

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383

gtk/gtkiconview.c

index d1055a998c1732baeaabe45b9ec723dc16c02c5b..14ee4891c4850cdc7c03b7a9c1e31d0f197daa37 100644 (file)
@@ -5794,7 +5794,7 @@ gtk_icon_view_unselect_path (GtkIconView *icon_view,
  *
  * To free the return value, use:
  * |[
- * g_list_foreach (list, gtk_tree_path_free, NULL);
+ * g_list_foreach (list, (GFunc)gtk_tree_path_free, NULL);
  * g_list_free (list);
  * ]|
  *